<template>
<a-card :bordered="false">
  <a-tabs tabPosition="left">
    <a-tab-pane key="1">
      <span slot="tab">
        <a-icon type="user" />
        待办任务
      </span>
      <MyPendingTask />
    </a-tab-pane>
    <a-tab-pane key="2">
      <span slot="tab">
        <a-icon type="usergroup-add" />
        组任务
      </span>
      <GroupPendingTask />
    </a-tab-pane>
    <a-tab-pane key="3">
      <span slot="tab">
        <a-icon type="clock-circle" />
        审批记录
      </span>
      <MyFinishedTask />
    </a-tab-pane>
  </a-tabs>
</a-card>
</template>

<script>
import MyPendingTask from './modules/MyPendingTask'
import GroupPendingTask from './modules/GroupPendingTask'
import MyFinishedTask from './modules/MyFinishedTask'
export default {
  name: 'MyTaskList',
  components: {
    MyPendingTask,
    GroupPendingTask,
    MyFinishedTask
  },
  mixins: [],
  data() {
    return {

    }
  },
  methods: {

  }
}
</script>

